package com.bytedance.ttnet.hostmonitor;

public final class h {
    boolean a;
    ConnectionType b;

    public h() {
        this.a = true;
        this.b = ConnectionType.NONE;
    }

    public h(boolean arg1, ConnectionType arg2) {

        this.a = arg1;
        this.b = arg2;
    }

    public final boolean equals(Object arg5) {
        boolean v0 = true;
        if(this != (((h)arg5))) {
            if(arg5 != null && this.getClass() == arg5.getClass()) {
                if(this.a == ((h)arg5).a && this.b == ((h)arg5).b) {
                    return v0;
                }

                return false;
            }

            v0 = false;
        }

        return v0;
    }

    public final int hashCode() {
        int v0 = this.a ? 1 : 0;
        return v0 * 27 + this.b.hashCode();
    }
}

